package com.itheima.hw.test3;

public class Student {
    private String name;
    private String sId;
    private String sex;
    private int age;
    private String degree;
    private String  school;


    public Student() {
    }

    public Student(String name, String sId, String sex, int age, String degree, String school) {
        this.name = name;
        this.sId = sId;
        this.sex = sex;
        this.age = age;
        this.degree = degree;
        this.school = school;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getsId() {
        return sId;
    }

    public void setsId(String sId) {
        this.sId = sId;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getDegree() {
        return degree;
    }

    public void setDegree(String degree) {
        this.degree = degree;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", sId='" + sId + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                ", degree='" + degree + '\'' +
                ", school='" + school + '\'' +
                '}';
    }
}
